package com.zuxia.payment;

import com.zuxia.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-payment")
public interface PayOpenFeginApi {
    @GetMapping("/order/pay/payment/{id}/{price}")
    public R payment(@PathVariable("id") String orderId,@PathVariable("price") Float price);
}
